﻿
@{
    ViewBag.Title = "RemoveDuplication";
}

<h2>RemoveDuplication</h2>

@{
    var db = new GERPContext();
    List<string> duplicatedCodeList = new List<string>
    {
        "101081-00074",
        "110021-00017",
        "110021-00013",
        "110021-00016",
        "101081-00075",
        "101081-00076",
        "101048-00006",
        "101081-00070",
        "101081-00071",
        "101081-00072",
        "101081-00073",
        "101081-00033",
        "103023-00002",
        "101081-00050",
        "101081-00061",
        "101081-00005",
        "101004-00032",
        "101009-00035",
        "101081-00019",
        "101081-00023",
        "101081-00037",
        "101086-00001",
        "103028-00009",
        "101004-00022",
        "101049-00013",
        "101080-00016",
        "101050-00005",
        "101081-00077",
        "101081-00078",
        "102011-00001",
        "101001-00015",
        "101004-00035",
        "101001-00100",
        "101009-00038",
        "101002-00001",
        "101015-00007",
        "101016-00024",
        "101027-00003",
        "101043-00005",
        "101053-00021",
        "101053-00022",
        "101053-00023",
        "101053-00024",
        "101053-00025",
        "101053-00026",
        "101053-00027",
        "105066-00002",
        "105020-00002",
        "110001-00037",
        "105050-00001",
        "110016-00011",
        "201003-00049",
        "201003-00050",
        "201003-00051",
        "201003-00052",
        "110021-00014",
        "110021-00015",
        "215010-00006",
        "203008-00011",
        "110017-00036",
        "110016-00049",
        "110016-00050",
        "110016-00051",
        "110016-00052",
        "103028-00001",
        "101081-00058",
        "101082-00001",
        "103022-00004",
        "110021-00011",
        "110021-00012",
        "203004-00016",
        "204022-00012"
    };

    //foreach (string code in duplicatedCodeList)
    //{
    //    db.Res
    //}
}